<?php

require_once("../../classes/status.php");

$user = new User;
$fname = $_POST['userfname'];
$lname = $_POST['userlname'];
$poststatus = $_POST['poststatus'];

$user->postStatus($poststatus,$fname,$lname);

header('location: ../../index.php');

?>